package com.zhang.crm.mapper;

import com.zhang.crm.pojo.TClue;
import com.zhang.crm.pojo.res.CustomerReq;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TCluemapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TClue record);

    int insertSelective(TClue record);

    TClue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClue record);

    int updateByPrimaryKey(TClue record);

    List<TClue> selectClueList();

    TClue selectClueById(Integer id);

    int deleteClueBatch(@Param("ids") List<String> ids);

    void insertClueBatch(@Param("cachedDataList") List<TClue> cachedDataList);

    List<TClue> selectCustomerList();

    List<CustomerReq> batchCustomerReqList();

    List<CustomerReq> selectCustomerReqList(@Param("ids") List<Integer> ids);

    TClue selectClueCustomerById(Integer id);
}